﻿<%@ Page Language="C#" MasterPageFile="~/MasterBackEnd.Master" AutoEventWireup="true"
    CodeFile="Menu.aspx.cs" Inherits="Pages_Config_Menu" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
    <script src="/Js/Pages/Config/Menu.js" type="text/javascript"></script>
    <script src="/Js/Popup/ShowListRoleNotInFunction.js" type="text/javascript"></script>
    <script type="text/javascript">
        $(document).ready(function () {
            pages_admin_Function.pageLoad();
        });
    </script>
    <style type="text/css">
        .content_info
        {
            padding-top:0px;
            padding-bottom:0px;
            }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="content" runat="Server">
    <div style="margin-top: 30px;" class="tabs_wrapper">
        <ul class="tabs">
            <li class="selected tab_link"><span class="tab_link">Quản lý Menu</span></li>
        </ul>
    </div>
    <div class="container_data" id="divFunctionList">
        <div class="header_container">
            <span class="container_text">Danh sách Menu</span>
            <div class="clear">
            </div>
        </div>
        <div class="content padding0">
            <div class="form form_3cols">
                <ul id="ulFunctionAll" class="tree treeview" style="text-align: left;">
                </ul>
            </div>
        </div>
    </div>
    <div style="padding: 5px 5px 5px 0px">
        <div id="divFunctionDetail" style="display: none">
            <ul>
                <li style="width: 50%; padding-right: 30px; padding-left: 0px; float: left">
                    <div class="container_data">
                        <div class="header_container">
                            <span class="container_text">Thông tin chi tiết</span>
                            <div class="adminBox_Control">
                                <div class="action" id="btnMenuUpdate" style="background: url(/images/icon_save.gif) no-repeat scroll 3px 3px #C1E4FF;">
                                    Cập nhật</div>
                                <div class="action" id="btnMenuCancel" style="background: url(/images/icon_close.gif) no-repeat scroll 3px 3px #C1E4FF;">
                                    Bỏ qua
                                </div>
                            </div>
                            <div class="clear">
                            </div>
                        </div>
                        <div class="content padding0">
                            <div class="form form_3cols">
                                <div class="content_info">
                                    <ul>
                                        <li class="content_info_left">Tên Menu:</li>
                                        <li class="content_info_right">
                                            <input type="text" id="txtFunctionName" style="width: 200px" /></li>
                                        <div style="clear: both;">
                                        </div>
                                    </ul>
                                </div>
                                <br />
                                <div class="content_info" id="divFunctionUrl">
                                    <ul>
                                        <li class="content_info_left">Url:</li>
                                        <li class="content_info_right">
                                            <input type="text" id="txtFunctionUrl" style="width: 200px" /></li>
                                        <div style="clear: both;">
                                        </div>
                                    </ul>
                                </div>
                                <br />
                                <div class="content_info">
                                    <ul>
                                        <li class="content_info_left">Menu cha:</li>
                                        <li class="content_info_right">
                                            <select id="ddlFunctionParent">
                                            </select></li>
                                        <div style="clear: both;">
                                        </div>
                                    </ul>
                                </div>
                                <br />
                                <div class="content_info">
                                    <ul>
                                        <li class="content_info_left">Trạng thái:</li>
                                        <li class="content_info_right">
                                            <select id="ddlStatusFunction">
                                            </select>
                                        </li>
                                        <div style="clear: both;">
                                        </div>
                                    </ul>
                                </div>
                                <br />
                                <div class="content_info" id="divFunctionOrder">
                                    <ul>
                                        <li class="content_info_left">Thứ tự:</li>
                                        <li class="content_info_right">
                                            <input type="text" id="txtFunctionOrder" style="width: 100px" /></li>
                                        <div style="clear: both;">
                                        </div>
                                    </ul>
                                </div>
                                <div style="clear: both;">
                                </div>
                            </div>
                        </div>
                    </div>
                </li>
                <li style="width: 47%; float: left">
                    <div class="container_data" id="divRoleInFuncton">
                        <div class="header_container">
                            <span class="container_text">Danh sách Role</span>
                            <div class="adminBox_Control">
                                <div class="action" id="btnAddRoleToFunction" style="background: url(/images/icon_add.gif) no-repeat scroll 3px 3px #C1E4FF;">
                                    Thêm mới</div>
                            </div>
                            <div class="clear">
                            </div>
                        </div>
                        <div class="content padding0">
                            <div class="form form_3cols">
                                <div id="divListRoleInFunction">
                                </div>
                            </div>
                        </div>
                    </div>
                </li>
            </ul>
        </div>
    </div>
</asp:Content>
